package cn.yangliu.security.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author 杨柳
 * @contact 
 * @date 2019-03-20 00:08
 * @desp 
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Getter
@NoArgsConstructor
@Setter
@TableName("user_role")
@ToString
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;



    
    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private String roleId;



}
